{extend name='admin@main'}

{block name="button"}

<button data-modal='{:url("marketTypeAdd")}' data-title="添加产品分类" class='layui-btn layui-btn-sm layui-btn-primary'>添加产品分类</button>

{/block}

{block name="content"}

<form onsubmit="return false" data-auto="true" action="{:url()}" method="post" class="think-box-shadow padding-40">




    <div class="layui-form-item">
        <label class="relative block">
            <span class="color-green font-w7">发布一个二手商品消耗几个积分</span>
            <span class="color-desc margin-left-5">
                publish_market_goods_need_credits <i style="color: #cc0000">[代理商未配置时启用]</i>
                <i style="color: #00B83F">优先扣除积分</i>
            </span>
            <input name="publish_market_goods_need_credits" required placeholder="请输入所需要的积分" value="{:sysconf('publish_market_goods_need_credits')}" class="layui-input">
        </label>
        <p class="help-block">发布一个二手商品 需消耗{:sysconf('publish_market_goods_need_credits')}个积分 </p>
    </div>


    <div class="layui-form-item">
        <label class="relative block">
            <span class="color-green font-w7">发布一个二手商品消耗几个发布豆</span>
            <span class="color-desc margin-left-5">
                publish_market_goods_need_bean <i style="color: #cc0000">[代理商未配置时启用]</i>
                <i style="color: #00B83F">优先扣除积分，积分不够才扣除发布豆</i>
            </span>
            <input name="publish_market_goods_need_bean" required placeholder="请输入所需要的发布豆" value="{:sysconf('publish_market_goods_need_bean')}" class="layui-input">
        </label>
        <p class="help-block">发布一个二手商品 需消耗{:sysconf('publish_market_goods_need_bean')}个发布豆 </p>
    </div>




    <div class="hr-line-dashed"></div>

    <div class="layui-form-item text-center">
        <button class="layui-btn" type="submit">保存配置</button>
    </div>

</form>

{/block}
